<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>查询结果</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/parking.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <%@ include file='mmzs-header.html'%>
    <form action="" method="post" id="queryFrm" name="queryFrm">
    <div class="content m-top">
        <c:forEach var="dt" items="${inDates}">
            <div class="vehicle-3">
                <div class="vehicle-3-1">
                    <table>
                       <tr>
                           <td style="float:left;">${dt.inDate}</td>
                       </tr>
                    </table>
                </div>
            </div>
            <c:forEach var="pt" items="${packList}">
                <c:if test="${pt.inDate == dt.inDate}">
                    <div class="vehicle-4">
                        <a href="/wape-web/api/core/centerService?serviceCode=MMZS126&inRecordKey=${pt.inRecordKey }" class="vehicle-4-1">
                            <table>
                                <tr>
                                    <td class="td-v1">${pt.inRecordNum}</td>
                                    <td class="td-v2">${pt.plateNum}</td>
                                    <td class="td-v3">${pt.sonStoreName }</td>
                                    <!-- <td class="td-v3">${pt.dispatcherTime }</td> -->
                                    <td class="td-v4">${pt.dispatcherName }</td>
                                </tr>
                            </table>
                        </a>
                    </div>
                </c:if>
            </c:forEach>
            <div class="blank"></div>
        </c:forEach>
        <div class="space"></div>
    </div>
    </form>
</div>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
</script>
</body>
</html>

